package com.project.bean;


import java.time.LocalDate;

/**
 * 小班信息表
 */
public class ClassBean {

    //小班编号
    private int classId;
    //小班名称
    private String className;
    //小班负责人
    private String classPerson;
    //电话
    private String classPersonTel;
    //人数
    private int classNum;
    //创建时间
    private LocalDate classCreateTime = LocalDate.now();
    //区域
    private RegionBean regionBean;

    private int regionId;

    public ClassBean() {
    }

    public ClassBean(String className, String classPerson, String classPersonTel, int classNum, LocalDate classCreateTime, int regionId) {
        this.className = className;
        this.classPerson = classPerson;
        this.classPersonTel = classPersonTel;
        this.classNum = classNum;
        this.classCreateTime = classCreateTime;
        this.regionId = regionId;
    }

    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getClassPerson() {
        return classPerson;
    }

    public void setClassPerson(String classPerson) {
        this.classPerson = classPerson;
    }

    public String getClassPersonTel() {
        return classPersonTel;
    }

    public void setClassPersonTel(String classPersonTel) {
        this.classPersonTel = classPersonTel;
    }

    public int getClassNum() {
        return classNum;
    }

    public void setClassNum(int classNum) {
        this.classNum = classNum;
    }

    public LocalDate getClassCreateTime() {
        return classCreateTime;
    }

    public void setClassCreateTime(LocalDate classCreateTime) {
        this.classCreateTime = classCreateTime;
    }

    public RegionBean getRegionBean() {
        return regionBean;
    }

    public void setRegionBean(RegionBean regionBean) {
        this.regionBean = regionBean;
    }

    public int getRegionId() {
        return regionId;
    }

    public void setRegionId(int regionId) {
        this.regionId = regionId;
    }

    @Override
    public String toString() {
        return "ClassBean{" +
                "classId=" + classId +
                ", className='" + className + '\'' +
                ", classPerson='" + classPerson + '\'' +
                ", classPersonTel='" + classPersonTel + '\'' +
                ", classNum=" + classNum +
                ", classCreateTime=" + classCreateTime +
                ", regionBean=" + regionBean +
                ", regionId=" + regionId +
                '}';
    }
}
